package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 详细学科对象 yc_subject_low
 * 
 * @author 杨琛
 * @date 2020-11-21
 */
public class YcSubjectLow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学科名字 */
    @Excel(name = "学科名字")
    private String lowCourseName;

    /** 关联次要学科id */
    @Excel(name = "关联次要学科id")
    private Long relationId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLowCourseName(String lowCourseName) 
    {
        this.lowCourseName = lowCourseName;
    }

    public String getLowCourseName() 
    {
        return lowCourseName;
    }
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lowCourseName", getLowCourseName())
            .append("relationId", getRelationId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
